﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICMS
{
    /// <summary>
    /// 用户相关接口
    /// </summary>
    public interface IUser
    {
        int Insert(CMSModel.User user);

        int Login(string username, string password);

        CMSModel.User GetModel(int id);

        int Delete(int id);

        int Edit(CMSModel.User user);

        List<CMSModel.User> GetList(int count);
    }
}
